package com.example.medicalzb.mapper;

import com.example.medicalzb.entity.AccountEntity;
import com.example.medicalzb.model.AccountModel;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountMapper {
    AccountModel securityLogin(String uname);

    int checkPhone(String phoneNumber);

    int regist(AccountEntity accountEntity);

    int updateAccount(AccountEntity accountEntity);

    int deleteAccount(Long id);

    int resetPwd(Long id, String newPwd);
}
